﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Attendences.Server.Model;

namespace Attendences.Server.Common
{
  public  class RecodeComparer : IEqualityComparer<AttendentSmsRecord>
    {

        public bool Equals(AttendentSmsRecord b1, AttendentSmsRecord b2)
        {
            if (b1.AttendenceItemID == b2.AttendenceItemID)
            {
                return true;
            }
            else
            {
                return false;
            }
        }


        public int GetHashCode(AttendentSmsRecord bx)
        {

            return bx.GetHashCode();
        }

    }

}
